package com.cloud.tsp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.api.domain.model.ModelName;
import com.cloud.api.domain.model.NoticeModel;
import com.cloud.api.domain.model.VehicleModel;
import com.cloud.api.domain.model.VehicleModelDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author haohaibo
 * @since 2023-12-20
 */
public interface IVehicleModelService extends IService<VehicleModel> {

    List<VehicleModel> selectModelBrand(String type);

    List<VehicleModel> selectModelByParentId(String parentId);

    List<VehicleModel> selectUrlListById(String modelId,String type);

    List<VehicleModelDto> selectModelTreeList();

    void insertModel(VehicleModel para);

    void deleteById(String id);

    ModelName selectParentNameById(String id);

    List<VehicleModel> getLastModelList();

    void updateModelName(VehicleModel para);

    List<NoticeModel> selectNoticeModelByModel(String type);
}